package com.yzc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.model.entity.system.SysUser;
import com.yzc.model.query.system.UserInfoReq;
import com.yzc.model.vo.system.SysUserVo;
import com.yzc.model.vo.system.UserInfoVo;
import com.yzc.result.ResultCodeEnum;

import java.util.List;

public interface UserService extends IService<SysUser> {

    List<UserInfoVo> loadaAll();

    SysUserVo getUserVoByName(String username);

    UserInfoVo getInfoById(Long id);

    ResultCodeEnum saveUser(UserInfoReq userInfoReq);

    ResultCodeEnum updateUser(UserInfoReq userInfoReq);
}
